#ifdef HAVE_CONFIG_H
 #include "config.hpp"
#endif

#include "types.hpp"

//define all tiles
tile_t t000000(0,1, 0,0,0,0,0,0);
tile_t t000100(0,6, 0,0,0,1,0,0);
tile_t t110000(0,6, 1,1,0,0,0,0);
tile_t t101000(0,6, 1,0,1,0,0,0);
tile_t t100011(0,6, 1,0,0,0,1,1);
tile_t t010010(0,3, 0,1,0,0,1,0);
tile_t t110110(0,3, 1,1,0,1,1,0);
tile_t t011010(0,6, 0,1,1,0,1,0);
tile_t t011001(0,6, 0,1,1,0,0,1);
tile_t t010111(0,6, 0,1,0,1,1,1);
tile_t t100100(1,3, 1,0,0,1,0,0);
tile_t t001010(1,6, 0,0,1,0,1,0);
tile_t t010011(1,6, 0,1,0,0,1,1);
tile_t t101100(1,6, 1,0,1,1,0,0);
tile_t t011110(1,6, 0,1,1,1,1,0);
tile_t t011011(1,3, 0,1,1,0,1,1);
tile_t t101011(1,6, 1,0,1,0,1,1);
tile_t t110111(1,6, 1,1,0,1,1,1);
tile_t t111111(1,1, 1,1,1,1,1,1);

int pivot_tile=1;

//allocate all the tiles in an array
tile_t tiles[19]={
  t000000,
  t000100,
  t110000,
  t101000,
  t100011,
  t010010,
  t110110,
  t011010,
  t011001,
  t010111,
  t100100,
  t001010,
  t010011,
  t101100,
  t011110,
  t011011,
  t101011,
  t110111,
  t111111};
